import koaRouter from "koa-router";
import IndexController from "../controller/indexController";

// const router = new koaRouter({ prefix: "/api" });
const router = new koaRouter();

// 路径+响应内容
router.get("/", IndexController.index);
router.get("/admin", IndexController.index);

export default router;
